class User < ActiveRecord::Base
	has_many :eaters do
		def find_user(user)
			find(:first, :include => :user, :conditions => {'users.name' => user})
		end
	end
	
	has_many :dinnermoments, :through => :eaters
end
